<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<form:form modelAttribute="efwBusinessModule" name="ec">
<form:hidden path="id"/>
<div class="widget" style="border-radius: 2px 2px 2px 2px;border:1px solid #d5d5d5;border-top:none; margin-top:10px;margin-bottom:10px;">
<div class="head"><h5 class="iDropper"><c:if test="${efwBusinessModule.id == null}">新增业务模块</c:if><c:if test="${efwBusinessModule.id != null}">修改业务模块</c:if></h5>
</div>
<table border="0" width="98%" cellpadding="5" cellspacing="5" >
	<tr>
		<td align="right" width="20%"><span class="redmark">*</span>业务模块名称：</td>
		<td align="left" width="80%"><form:input path="name" size="30"  /><form:errors path="name" cssClass="errors"/></td>
	</tr>
	<tr>
		<td align="right" width="20%"><span class="redmark">*</span>菜单：</td>
		<td align="left" width="80%"><form:input path="menuIds" size="30"  /><form:errors path="menuIds" cssClass="errors"/></td>
	</tr>
	<!--
	<tr>
		<td align="right" width="20%"><span class="redmark">*</span>菜单：</td>
		<td align="left" width="80%">
			  <select name="menuIds" id="menuIds">
        			<option  value="">--Select--</option>
       					<c:forEach var="source" items="${parentList}">
       						<c:if test="${source.isMenu==1}">
       					<option value="${source.id}" <c:if test="${source.id==efwBusinessModule.menuIds}"> selected="selected"</c:if>>${source.tabString}${source.name}</option>
      						</c:if>
      					</c:forEach>
      		</select>
		</td>
	</tr>
	-->
	<tr>
		<td align="right">状态：</td>
		<td align="left" style="vertical-align:middle;">
			<input type="radio" name="status" value="A" <c:if test="${efwBusinessModule.status eq 'A' or efwBusinessModule.status==null}"> checked="checked"</c:if>/>&nbsp;生效&nbsp;&nbsp;
			<input type="radio" name="status" value="D" <c:if test="${efwBusinessModule.status eq 'D'}"> checked="checked"</c:if>/>&nbsp;失效
		</td>
	</tr>
	<tr>
		<td align="right"><span class="redmark">*</span>业务模块描述：</td>
		<td align="left" style="vertical-align:middle;" ><form:textarea path="title" cols="3" rows="3" cssStyle="width:95%"/><form:errors path="title" cssClass="errors" /></td>
	</tr>
</table>
</div>
</form:form>
